package com.ruoyi.web.controller.sso.zhgx.oauth2.response;

import com.alibaba.fastjson2.annotation.JSONField;

import java.util.List;

public class UserInfo{

    @JSONField(name = "id")
    private int id;
    @JSONField(name = "password")
    private String password;
    @JSONField(name = "username")
    private String username;
    @JSONField(name = "authorities")
    private List<Authorities> authorities;
    @JSONField(name = "accountNonExpired")
    private boolean accountnonexpired;
    @JSONField(name = "accountNonLocked")
    private boolean accountnonlocked;
    @JSONField(name = "credentialsNonExpired")
    private boolean credentialsnonexpired;
    @JSONField(name = "enabled")
    private boolean enabled;

    /** 省认证平台的中的用户Id */
    @JSONField(name = "zwfwUuid")
    private String zwfwUuid;
    @JSONField(name = "userType")
    private String usertype;
    @JSONField(name = "deptId")
    private int deptid;
    @JSONField(name = "phone")
    private String phone;
    @JSONField(name = "avatar")
    private String avatar;
    @JSONField(name = "tenantId")
    private int tenantid;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public List<Authorities> getAuthorities() {
        return authorities;
    }

    public void setAuthorities(List<Authorities> authorities) {
        this.authorities = authorities;
    }

    public boolean isAccountnonexpired() {
        return accountnonexpired;
    }

    public void setAccountnonexpired(boolean accountnonexpired) {
        this.accountnonexpired = accountnonexpired;
    }

    public boolean isAccountnonlocked() {
        return accountnonlocked;
    }

    public void setAccountnonlocked(boolean accountnonlocked) {
        this.accountnonlocked = accountnonlocked;
    }

    public boolean isCredentialsnonexpired() {
        return credentialsnonexpired;
    }

    public void setCredentialsnonexpired(boolean credentialsnonexpired) {
        this.credentialsnonexpired = credentialsnonexpired;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public String getZwfwUuid() {
        return zwfwUuid;
    }

    public void setZwfwUuid(String zwfwUuid) {
        this.zwfwUuid = zwfwUuid;
    }

    public String getUsertype() {
        return usertype;
    }

    public void setUsertype(String usertype) {
        this.usertype = usertype;
    }

    public int getDeptid() {
        return deptid;
    }

    public void setDeptid(int deptid) {
        this.deptid = deptid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getTenantid() {
        return tenantid;
    }

    public void setTenantid(int tenantid) {
        this.tenantid = tenantid;
    }
}